//
//  NSObject+calulate.m
//  KVO和链式编程
//
//  Created by dihuijun on 17/4/13.
//  Copyright © 2017年 Cycle. All rights reserved.
//

#import "NSObject+calulate.h"

@implementation NSObject (calulate)
/*** 所有计算代码*/
+ (double)Cycle_MakeCalulate:(void(^)(CalulateManager *))block{
    CalulateManager *manager = [[CalulateManager alloc]init];
    block(manager);
    return manager.result;
}

@end
